<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>欢迎</title>
</head>
<body>
    {% if user %}
        <h1>Hello, {{ user }}</h1>
    {% else %}
        <h1>Welcome to Index !</h1>
    {% endif %}
</body>
</html>